{% extends "base.html" %}

{% block main %}

<h1>
    Add Edge
</h1>

{% if message %}
<p style="color:red;">{{ message }}</p>
{% endif %}

<br /><br /><br />

<form action="" method="post">
    <table>
    {{ edge_form }}
    </table>    
    <input type="submit" value="Add edge">
</form>
<hr />
<br /><br /><br />

<object data="/graph_all.svg" type="image/svg+xml"
         name="bonehead" />

{% endblock %}